package alibaba.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author kaivader
 */
@RestController
@RequestMapping("/nacos")
public class PaymentController {
    @Value("${server.port}")
    private String serverPort;

    @RequestMapping("/nacosHi")
    public String hi() {
        return "Hi Nacos"+serverPort;
    }
}
